<h1>文章列表</h1><table><thead>
<tr>
	<th width="5%">ID</th>
	<th width="40%">Chinese Title</th>
	<th width="40%">URL Link</th>
	<th width="5%" class="center">序号</th>
	<th width="5%" class="center">操作</th>
</tr>
</thead><tbody id="myTable">
<form method="post" action="/block/update/<?=$block->id?>">
<?php foreach($elements as $data) { ?>
<input type="hidden" name="ids[]" value="<?=$data->eid?>"/><tr>
	<td><?=$data->id?></td>
	<td><?=$data->title_cn?></td>
	<td><input type="text" name="link_<?=$data->eid?>" value="<?=$data->url_link?>" style="width:300px"/></td>
	<td class="center"><input type="text" name="sort_<?=$data->eid?>" value="<?=$data->sort?>" style="width:20px"/></td>
	<td class="center"><?=html::anchor('block/delpkid/'.$block->id.'/'.$data->eid, '删除', 'title="从版块中删除"')?></td>
</tr>
<?php } ?>
</tbody></table>
<p style="text-align:right;padding-top: 10px;"><input type="submit" name="submit" value="更改保存"/></p>
</form>
<?=html::script('js/table.js')?>
